export default [
    {
        path: '/store',
        name: 'store',
        meta: {
            title: '门店商户管理',
            icon: 'solution-outlined'
        },
        redirect: '/store/manage/list',
        component: () => import('@/components/Layout/CommonLayout.vue'),
        children: [
            {
                path: '/store/manage/list',
                name: 'store-manage-list',
                meta: {
                    title: '门店列表',
                    keepAlive: true,
                    icon: 'solution-outlined'
                },
                component: () => import('@/views/store/manage/list.vue'),
            },
            {
                path: '/store/manage/detail',
                name: 'store-manage-detail',
                meta: {
                    title: '门店详情',
                    toRoute: 'store-manage-list'
                },
                hidden: true,
                component: () => import('@/views/store/manage/detail.vue'),
            },
            {
                path: '/store/manage/edit',
                name: 'store-manage-edit',
                meta: {
                    title: '门店编辑',
                    toRoute: 'store-manage-list'
                },
                hidden: true,
                component: () => import('@/views/store/manage/edit.vue'),
            },
            {
                path: '/store/merchant/list',
                name: 'store-merchant-list',
                meta: {
                    title: '商户列表',
                    keepAlive: true,
                    icon: 'usergroup-add-outlined'
                },
                component: () => import('@/views/store/merchant/list.vue'),
            },
            {
                path: '/store/merchant/edit',
                name: 'store-merchant-edit',
                meta: {
                    title: '商户编辑',
                    toRoute: 'store-merchant-list'
                },
                hidden: true,
                component: () => import('@/views/store/merchant/edit.vue'),
            },

        ],
    },
];
